package cn.iocoder.yudao.framework.pay.core.client.impl.pax.model;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import lombok.Data;

@Data
public class PaxQueryPrePayOrderResponse {

    private String paxPrepayId;

    private String merchantTradeNo;

    @NotNull(message = "payChannel cannot be empty")
    private String payChannel;

    @NotEmpty(message = "orderAmount cannot be empty")
    @Positive(message = "orderAmount is not a legal amount")
    private String orderAmount;

    @NotNull(message = "currency cannot be empty")
    private String currency;

    @NotNull(message = "currency cannot be empty")
    private Long orderExpireTime;

    @NotNull(message = "orderStatus cannot be empty")
    private String orderStatus;

    @NotNull(message = "orderCreateTime cannot be empty")
    private Long orderCreateTime;

    /**
     * 支付成功时间
     */
    private Long paySuccessTime;

}
